package com.hare.common.global;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: Hare
 * @description: token相关配置类
 * @author: Hare
 * @create: 2022-06-27 11:18
 * @Version 6.0.1
 **/
@ConfigurationProperties(prefix="audience")
@Component
@Data
public class Audience {

    private String client;
    /** 秘钥 */
    private String seurity;
    private String name;
    /** 过期时间 */
    private Long ttlSecond;
    /** 刷新时间 */
    private Long refreshSecond;
}
